homogeneous second order differential equation solution